package no.progark.activity;

import no.progark.helikopter.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Button playButton = (Button) findViewById(R.id.copterbutton);
        playButton.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent i = new Intent(getBaseContext(),CopterActivity.class);
//				Intent i = new Intent(getBaseContext(),TestActivity.class);
				startActivity(i);
			}
		});
        
        Button pongButton = (Button) findViewById(R.id.pongbutton);
        pongButton.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent i = new Intent(getBaseContext(), PongActivity.class);
				startActivity(i);
			}
		});
    }

    
     
}